﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Xml.Serialization;

namespace Twitter
{
    [Serializable]
    [XmlRoot("user",ElementName="user")]
    public class TwitterUser
    {
        [XmlElement("name")]
        public string Name { get; set; }
        [XmlElement("id")]
        public int ID { get; set; }
        [XmlElement("screen_name")]
        public string ScreenName { get; set; }
        [XmlElement("location")]
        public string Location { get; set; }
        [XmlElement("description")]
        public string Description { get; set; }
        [XmlElement("profile_image_url")]
        public string ImageUrl { get; set; }
        [XmlElement("url")]
        public string URL { get; set; }
        [XmlElement("protected")]
        public string Protected { get; set; }
        [XmlElement("followers_count")]
        public int FollowersCount { get; set; }
    }
}
